package com.dingli.framework.mapper;

import com.dingli.framework.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {
    User login(Long userId, String password);

    int setUserTheme(Long userId, Long themeId);

    List<User> list(String search);

    int insert(User user);

    User selectById(Long user_id);

    int updateById(User user);

    int deleteById(Long user_id);

    int deleteBatch(List<Long> idList);


}
